package com.ruoyi.order.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品表对象 product
 * 
 * @author ruoyi
 * @date 2022-02-04
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 产品ID */
    private Integer productID;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 列表表 */
    @Excel(name = "商品目录Id‘")
    private Integer categoryID;

    /** 标题 */
    @Excel(name = "标题")
    private String titile;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 折扣 */
    @Excel(name = "折扣")
    private Integer discount;

    /** 数量 */
    @Excel(name = "数量")
    private Integer num;

    /** 支付次数 */
    @Excel(name = "支付次数")
    private Integer payNum;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    /** 图片1 */
    @Excel(name = "图片1")
    private String imageUrl1;

    /** 图片2 */
    @Excel(name = "图片2")
    private String imageUrl2;

    /** 图片3 */
    @Excel(name = "图片3")
    private String imageUrl3;

    /** 创建人 */
    @Excel(name = "创建人")
    private Integer createUser;

    /** 修改人 */
    @Excel(name = "修改人")
    private Integer updateUser;

    public void setProductID(Integer productID) 
    {
        this.productID = productID;
    }

    public Integer getProductID() 
    {
        return productID;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setCategoryID(Integer categoryID) 
    {
        this.categoryID = categoryID;
    }

    public Integer getCategoryID() 
    {
        return categoryID;
    }
    public void setTitile(String titile) 
    {
        this.titile = titile;
    }

    public String getTitile() 
    {
        return titile;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setDiscount(Integer discount) 
    {
        this.discount = discount;
    }

    public Integer getDiscount() 
    {
        return discount;
    }
    public void setNum(Integer num) 
    {
        this.num = num;
    }

    public Integer getNum() 
    {
        return num;
    }
    public void setPayNum(Integer payNum) 
    {
        this.payNum = payNum;
    }

    public Integer getPayNum() 
    {
        return payNum;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setImageUrl1(String imageUrl1) 
    {
        this.imageUrl1 = imageUrl1;
    }

    public String getImageUrl1() 
    {
        return imageUrl1;
    }
    public void setImageUrl2(String imageUrl2) 
    {
        this.imageUrl2 = imageUrl2;
    }

    public String getImageUrl2() 
    {
        return imageUrl2;
    }
    public void setImageUrl3(String imageUrl3) 
    {
        this.imageUrl3 = imageUrl3;
    }

    public String getImageUrl3() 
    {
        return imageUrl3;
    }
    public void setCreateUser(Integer createUser) 
    {
        this.createUser = createUser;
    }

    public Integer getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Integer updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Integer getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productID", getProductID())
            .append("price", getPrice())
            .append("categoryID", getCategoryID())
            .append("titile", getTitile())
            .append("productName", getProductName())
            .append("discount", getDiscount())
            .append("num", getNum())
            .append("payNum", getPayNum())
            .append("state", getState())
            .append("remark", getRemark())
            .append("imageUrl1", getImageUrl1())
            .append("imageUrl2", getImageUrl2())
            .append("imageUrl3", getImageUrl3())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .toString();
    }
}
